﻿<Window x:Class="StressServer_UI.TraceFileImportWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Trace file import" Height="150" Width="400">
    <Grid>
        <TextBox HorizontalAlignment="Left" Height="23" Margin="10,10,0,0" TextWrapping="Wrap" Text="{Binding TraceFilePath}" VerticalAlignment="Top" Width="243"/>
        <Button Command="{Binding CommandSelectTraceFile}" Content="Select trace file" HorizontalAlignment="Left" Margin="267,11,0,0" VerticalAlignment="Top" Width="98"/>
        <CheckBox Content="Unique queries only" HorizontalAlignment="Left" Margin="10,38,0,0" VerticalAlignment="Top" IsChecked="{Binding UniqueQueriesOnly}">
            <CheckBox.ToolTip>
                <ToolTip>
                    <StackPanel>
                        <TextBlock>Eliminate duplicate queries from import.</TextBlock>
                    </StackPanel>
                </ToolTip>
            </CheckBox.ToolTip>
        </CheckBox>
        <Button Command="{Binding CommandImportTraceFile}" Content="Import" HorizontalAlignment="Left" Margin="10,68,0,0" VerticalAlignment="Top" Width="355"/>

    </Grid>
</Window>
